<template>
    <div>
        <el-input placeholder="仅限搜索地级市名字" v-model="input" :id="search_id" prefix-icon="el-icon-search" @change="sendMsg" clearable></el-input>
    </div>
</template>
<script>
export default {
  data() {
    return {
      search_id: 'searchId',
      input: ''
    }
  },
  methods:{
    sendMsg(){
      console.log("haha")
    }
  }
}
</script>
